package cn.wolfcode.crm.query;

import lombok.*;
import org.apache.shiro.util.StringUtils;

@Getter@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ProductQueryObj extends QueryObject{

    private String keyword;
    private Boolean salesstatus;
    private Boolean undeduction;
    private Long smId;

    public String getKeyword(){

        return StringUtils.hasLength(keyword)? keyword:null;
    }

}
